﻿namespace WpfAdmin.Everything.Queryable {
    /// <summary>
    /// 注意：图像信息未编入索引，搜索图像信息较慢，建议结合其他搜索以提高性能
    /// </summary>
    public interface IImageQueryable : IQueryable {
        IQuery Width(int width);
        IQuery Height(int height);
        IQuery Portrait();
        IQuery Landscape();
        IQuery BitDepth(Bpp bpp);
    }

    public enum Bpp {
        Bpp1 = 1,
        Bpp8 = 8,
        Bpp16 = 16,
        Bpp24 = 24,
        Bpp32 = 32
    }
}
